//
// Created by longyunbo on 6/23/21.
//

#ifndef ANALYSIS_BASEBYTECODESTREAM_H
#define ANALYSIS_BASEBYTECODESTREAM_H
#include "../memory/StackObj.h"
class CodeAttributeInfo;
class MethodInfo;



using namespace std;

class BaseBytecodeStream :StackObj {

protected:
    MethodInfo* belongMethod;
public:
    MethodInfo* getBelongMethod();
    void setBelongMethod(  MethodInfo* value );

    CodeAttributeInfo* belongCode;

    int length;
    int getLength();
    void setLength( int vakue );

    int* index;

    char* codes;
public:
    char* get_codes();

};


#endif //ANALYSIS_BASEBYTECODESTREAM_H
